package com.hwy.catering.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 *
 * @TableName tb_dish
 */
@Data
@TableName("tb_dish")
public class Dish extends BaseEntity implements Serializable {

    /**
     * 类别id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long categoryId;

    /**
     * 菜品名称
     */
    private String name;

    /**
     * 菜品价格
     */
    private BigDecimal price;

    /**
     * 菜品标签
     */
    private String tag;

    /**
     * 菜品图片
     */
    private String img;

    /**
     * 菜品描述
     */
    private String description;

    /**
     * 菜品状态  0：启用 1：下架
     */
    private Integer state;

    /**
     * 菜品排序
     */
    private Integer sort;


    private static final long serialVersionUID = 1L;


}
